<?php
namespace Admin\Model;
use Think\Model;

class PayModel extends Model{
    public function getValue($enrollid){
        return $this->where(array('orderno'=>$enrollid))->getField('amount');
    }
}
?>
